package top.carrotguo.weibo.retrofit.api;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import top.carrotguo.weibo.bean.UserInfo;
import top.carrotguo.weibo.bean.UserUidBean;

public interface AccountService {

    @GET("account/get_uid.json")
    Call<UserUidBean> getUid(@Query("access_token") String accessToken);

    @GET("users/show.json")
    Call<UserInfo> getUserInfo(@Query("access_token") String accessToken, @Query("uid") String uid);
}
